<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
      <h:head></h:head>

<h:body style="background:#2A2D30">
<p:layout fullPage="true">  
    <p:layoutUnit position="north" size="100" header="DREAM TRAVEL AGANCY!" resizable="true" closable="false" collapsible="false"/>  
 <p:layoutUnit position="west" size="525">
   <br/>
    <br/>
    <br/>
    <br/>
    <br/>
     <br/>
      <p:separator/>
<p:imageSwitch effect="shuffle">  
    <ui:repeat value="#{sidepics.images}" var="image">  
        <p:graphicImage value="/images/sidepics/#{image}" />  
    </ui:repeat>  
</p:imageSwitch>
    <p:separator/>

    </p:layoutUnit>  
  
     <p:layoutUnit position="east" size="525" >
       <br/>
    <br/>
    <br/>
    <br/>
    <br/>
     <br/>
      <p:separator/>
<p:imageSwitch effect="shuffle">  
    <ui:repeat value="#{sidepics.images}" var="image">  
        <p:graphicImage value="/images/sidepics/#{image}" />  
    </ui:repeat>  
</p:imageSwitch>
    <p:separator/>

    </p:layoutUnit>  
    
 
         <p:layoutUnit position="center">  
   <p:panel  style="margin-bottom:10px;" >
   <h:form>
       <p:growl  id="msgs" showDetail="true"/>
    <p:breadCrumb>  
    <p:menuitem  value="Profile" url="home.xhtml?admin=true" /> 
    <p:menuitem value="Profile " url="profile.xhtml" />  
    
    </p:breadCrumb> 
    </h:form>
    </p:panel>
   <br></br>
    <p:panel style="height:390px" >
        <p:slideMenu style="width:180px">  
        <p:submenu label="Flights">  
            <p:menuitem value="Add Flight" url="flight.xhtml" />  
            <p:menuitem value="View Flight" url="deletFlight.xhtml" /> 
        </p:submenu>  
         <p:submenu label="Hotels">  
            <p:menuitem value="Add Hotel" url="hotel.xhtml" />  
            <p:menuitem value="View Hotel" url="deletHote.xhtml" /> 
        </p:submenu> 
         <p:submenu label="Excursions" >  
            <p:menuitem value="Add Excursion" url="excursion.xhtml" />  
            <p:menuitem value="View Excursion" url="deletExcursion.xhtml" /> 
        </p:submenu> 
        <p:separator />  
               
        <p:submenu label="Standard Packages" >  
            <p:menuitem value="Add Standard Package" url="standardpk.xhtml" />  
            <p:menuitem value="View Standard Package" url="deletStandardpk.xhtml" /> 
        </p:submenu>  
         <p:separator /> 
          
      <p:submenu label="Personalized Packages" >  
            <p:menuitem value="View all personalized Package" url="#" />  
        </p:submenu>  
    </p:slideMenu>
    
			</p:panel>
			
	      </p:layoutUnit>  
	      
	          <p:layoutUnit header="" position="south" size="100" >  
		    		<p:commandButton action="#{logoutBean.logout}" value="Logout" />
		     </p:layoutUnit>  
		    		
	      
  
</p:layout>  
</h:body>
</html>